package io.renren.dao;

import io.renren.entity.BookVideo;
import io.renren.entity.dto.MenuBookVideoDto;
import io.renren.entity.vo.BookVideo4Show;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 教辅书视频表
 *
 * @author Wayne Wang
 * @email dujc1018@gmail.com
 * @date 2018-07-23 10:48:07
 */
public interface BookVideoDao extends BaseDao<BookVideo> {

    List<MenuBookVideoDto> queryBookVideo4All(@Param("gradeId") Long gradeId, @Param("seasonId") Long seasonId);

    void updateBatch(List<BookVideo> bookVideoList);

    List<BookVideo> queryList4Query(Map<String, Object> map);

    int queryTotal4Query(Map<String, Object> map);

    List<BookVideo4Show> queryList4ListQuery(Map<String, Object> map);

    int queryTotal4ListQuery(Map<String, Object> map);
}
